﻿<UserControl x:Class="GroupChallengeWP7.Views.StatsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             mc:Ignorable="d"
             FontFamily="{StaticResource PhoneFontFamilyNormal}"
             FontSize="{StaticResource PhoneFontSizeNormal}"
             d:DesignHeight="480"
             d:DesignWidth="480">
    <Grid x:Name="LayoutRoot">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="204" />
            <ColumnDefinition Width="252" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="45" />
            <RowDefinition Height="45" />
            <RowDefinition Height="38" />
            <RowDefinition Height="48" />
            <RowDefinition Height="48" />
            <RowDefinition Height="48" />
            <RowDefinition Height="48" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <TextBlock Grid.Row="0"
                   Grid.Column="0"
                   Text="Status:" />
        <TextBlock Grid.Row="0"
                   Grid.Column="1"
                   Text="{Binding Path=LastConnectionStatus}" />
        <TextBlock Grid.Row="1"
                   Grid.Column="0"
                   Text="Started:" />
        <TextBlock Grid.Row="1"
                   Grid.Column="1"
                   Text="{Binding Path=CurrentGame.StartTime}" />
        <TextBlock Grid.Row="2"
                   Grid.Column="0"
                   Text="Last Check Time" />
        <TextBlock Grid.Row="2"
                   Grid.Column="1"
                   Text="{Binding Path=LastCheckTime}" />
        <TextBlock Grid.Row="3"
                   Grid.Column="0"
                   Text="Current Question Id:" />
        <TextBlock Grid.Row="3"
                   Grid.Column="1"
                   Text="{Binding Path=CurrentGame.CurrentQuestionId}" />
        <TextBlock Grid.Row="4"
                   Grid.Column="0"
                   Text="Game End Time:" />
        <TextBlock Grid.Row="4"
                   Grid.Column="1"
                   Text="{Binding Path=CurrentGame.EndTime}" />
        <TextBlock Grid.Row="5"
                   Grid.Column="0"
                   Text="Last Game Score:" />
        <TextBlock Grid.Row="5"
                   Grid.Column="1"
                   Text="{Binding Path=LastGameScore}" />
        <TextBlock Grid.Row="6"
                   Grid.Column="0"
                   Text="High Score:" />
        <TextBlock Grid.Row="6"
                   Grid.Column="1"
                   Text="{Binding Path=CurrentGame.HighScore}" />
        <TextBlock Grid.Row="7"
                   Grid.Column="0"
                   Text="High Score Player:" />
        <TextBlock Grid.Row="7"
                   Grid.Column="1"
                   Text="{Binding Path=CurrentGame.HighScorePlayerNickName}" />
    </Grid>
</UserControl>
